projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
995daa1
)
a11y: Use the stack page title as its accessible label
author
Emmanuele Bassi
<ebassi@gnome.org>
Thu, 12 Nov 2020 14:50:49 +0000
(14:50 +0000)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Thu, 12 Nov 2020 21:46:06 +0000
(21:46 +0000)
gtk/gtkstack.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstack.c
b/gtk/gtkstack.c
index 21505f68095e0ce5fab28791bc80ba7ce6375a4f..4e60d838c6d30eaf3ce9034c6489c3aff647b685 100644
(file)
--- a/
gtk/gtkstack.c
+++ b/
gtk/gtkstack.c
@@
-2778,6
+2778,10
@@
gtk_stack_page_set_title (GtkStackPage *self,
g_free (self->title);
self->title = g_strdup (setting);
g_object_notify_by_pspec (G_OBJECT (self), stack_page_props[CHILD_PROP_TITLE]);
+
+ gtk_accessible_update_property (GTK_ACCESSIBLE (self),
+ GTK_ACCESSIBLE_PROPERTY_LABEL, self->title,
+ -1);
}